<%@page import="bean.PortfolioVo"%>
<%@page import="java.util.ArrayList"%>
<%@page import="bean.portDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel='stylesheet' href='/kiSunnyShop/css/portttt.css' />
<title>Insert title here</title>
</head>
<body>
<%request.setCharacterEncoding("utf-8");%>
<jsp:useBean id='vo' class='bean.PortfolioVo' scope='page'/>
<jsp:setProperty property="*" name="vo"/>

<%
	request.setCharacterEncoding("utf-8");
	portDTO dto = new portDTO();
	dto.setVo(vo);
	ArrayList<PortfolioVo> al = dto.select();	
%>
<!-- 사진 이미지 출력 --><div id="grid_slider">
<%for(int a=0; a<al.size(); a++){PortfolioVo pv = al.get(a);%>



	<div class='ui-slider-handle'>
		<ul id="grid">
			<li><a href='#' style="text-decoration:none" onclick='goView(<%=dto.getNowPage()%>,<%=pv.getRno()%>)' >
				<img src="/kiSunnyShop/memberPhoto/<%=pv.getPhoto() %>"/></a>
				<div>[<%=pv.getCate()%>]<%=pv.getSubject()%></div>
			</li>
		</ul>
	</div>

<%}%>
</div>
</body>
</html>